package top.hidoctor.auscultation.bean;

import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class LableBean implements Serializable {

    /**
     * createdBy : 66195784999108608
     * createdTime : 1609134391000
     * expiryDay : 7
     * expiryTime : 1609739192000
     * hospitalId : 67918961378852864
     * id : 131392410251952128
     * isDeleted : 1
     * labelUserSamples : [{"id":"131392410310672384","labelId":"131392410251952128","labelName":"标注医师","sampleId":"114744377569443840","status":10,"userId":"115087661999325184"},{"id":"131392410331643904","labelId":"131392410251952128","labelName":"超级管理员","sampleId":"114744377569443840","status":10,"userId":"66195784999108608"}]
     * labelUsers : [{"id":"131392410281312256","labelId":"131392410251952128","rating":60,"remind":0,"status":10,"userId":"115087661999325184"},{"id":"131392410302283776","labelId":"131392410251952128","rating":60,"remind":0,"status":10,"userId":"66195784999108608"}]
     * markEmpTotal : 2
     * name : 循音科技-标注包-20201228-011
     * sample : [{"clinicInfo":"","coordinate":"配合","hospitalId":"67918961378852864","id":"114744377569443840","no":"循音科技-OP311","position":"卧位","sampleDetail":{"convertNum":0,"duration":60000,"id":"114744377569443840","isConvert":1,"reportPath":"","wavCheckCode":"6b1019b0afd1a083e50fb8a565a5a5a6f2459b51","wavDataPath":"sample/2020/11/12/1605165191374_0.json","wavPath":"sample/2020/11/12/1605165191374_0.wav","wavPowerPics":"sample/2020/11/12/1605165191374_0.png"}}]
     * sampleTotal : 1
     * status : 10
     * updatedBy : 66195784999108608
     * updatedTime : 1609134391000
     */

    private String createdBy;
    private Long createdTime;
    private Integer expiryDay;
    private Long expiryTime;
    private String hospitalId;
    private String id;
    private Integer isDeleted;
    private Integer markEmpTotal;
    private String name;
    private Integer sampleTotal;
    private Integer status;
    private String updatedBy;
    private Long updatedTime;
    private List<LabelUserSamplesBean> labelUserSamples;
    private List<LabelUsersBean> labelUsers;
    private List<SampleBean> sample;


    @NoArgsConstructor
    @Data
    public static class LabelUserSamplesBean implements Serializable {
        /**
         * id : 131392410310672384
         * labelId : 131392410251952128
         * labelName : 标注医师
         * sampleId : 114744377569443840
         * status : 10
         * userId : 115087661999325184
         */

        private String id;
        private String labelId;
        private String labelName;
        private String sampleId;
        private Integer status;
        private String userId;
    }

    @NoArgsConstructor
    @Data
    public static class LabelUsersBean implements Serializable {
        /**
         * id : 131392410281312256
         * labelId : 131392410251952128
         * rating : 60
         * remind : 0
         * status : 10
         * userId : 115087661999325184
         */

        private String id;
        private String labelId;
        private Integer rating;
        private Integer remind;
        private Integer status;
        private String userId;
    }

    @NoArgsConstructor
    @Data
    public static class SampleBean implements Serializable {
        /**
         * clinicInfo :
         * coordinate : 配合
         * hospitalId : 67918961378852864
         * id : 114744377569443840
         * no : 循音科技-OP311
         * position : 卧位
         * sampleDetail : {"convertNum":0,"duration":60000,"id":"114744377569443840","isConvert":1,"reportPath":"","wavCheckCode":"6b1019b0afd1a083e50fb8a565a5a5a6f2459b51","wavDataPath":"sample/2020/11/12/1605165191374_0.json","wavPath":"sample/2020/11/12/1605165191374_0.wav","wavPowerPics":"sample/2020/11/12/1605165191374_0.png"}
         */

        private String clinicInfo;
        private String coordinate;
        private String hospitalId;
        private String id;
        private String no;
        private String position;
        private Integer labelStatus;
        private SampleDetailBean sampleDetail;
        private int playStatus = 0;
        private int progress = 0;

    }
}
